package com.alks.entity.data.entity.dispatch;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

public class UserOemRelation implements Serializable {
    private String companyId;
    private String uuid;
    private @Min(
    value = 1L
) long userId;
    private String vendorNo;
    private @NotEmpty(
    message = "OME厂商不能为空"
) String vendorAbbr;
    private String createUserId;
    private Date createDate;
    private String createUserName;
    private boolean success;
    private String msg;
    private static final long serialVersionUID = 1L;

    public UserOemRelation() {
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getUuid() {
        return this.uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public long getUserId() {
        return this.userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getVendorNo() {
        return this.vendorNo;
    }

    public void setVendorNo(String vendorNo) {
        this.vendorNo = vendorNo == null ? null : vendorNo.trim();
    }

    public String getVendorAbbr() {
        return this.vendorAbbr;
    }

    public void setVendorAbbr(String vendorAbbr) {
        this.vendorAbbr = vendorAbbr == null ? null : vendorAbbr.trim();
    }

    public String getCreateUserId() {
        return this.createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUserName() {
        return this.createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public boolean isSuccess() {
        return this.success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
